var mongoose = require('./db')

var Schema = mongoose.Schema

//标签表
var mianSchema = new Schema({
    company:String,
    city:String,
    way:String,
    time:String,
    name:String,
    status:{
        type:Number,
        default:0
    },
    reason:{
        type:String,
        default:"无"
    },
    lu:{
        type:String,
        default:'无'
    },
    question:{
        type:String,
        default:"无"
    },
    zong:{
        type:String,
        default:"无"
    }
});

//创建model,第三个参数是实际表名
var mianmodel = mongoose.model("mian", mianSchema,"mian")

module.exports = mianmodel